package com.peter.ai;

import java.io.File;

import com.peter.ai.util.AliyunThread;

/**
 * Hello world!
 *
 */
public class AppLisrw {
	public static void main(String[] args) {
		final String txtDir = "E://text2voice/lishirenwu/txt/";
		final String mp3Dir = "E://text2voice/lishirenwu/mp3/";
		//YSMYFileUtils.splitFile("E://text2voice/lishirenwu/喻世明言.txt", "------", txtDir);
		File dir = new File(txtDir);
		File[] files = dir.listFiles();

		for (int i = 0; i < 10; i++) {
			Thread thread = new AliyunThread(i, files, mp3Dir, 0, 10);
			thread.start();
		}

	}
}
